<template>
  <div class="detail-intro">
    <div class="line"></div>
    <div class="title">{{ priceIntro.title }}</div>
    <div class="content">
      {{ priceIntro.introduction }}
    </div>
  </div>
</template>

<script setup>

defineProps({
  priceIntro: {
    type: Object,
    default: () => {
      return {
        title: '',
        content: () => {},
      }
    },
  },
})
</script>

<style lang="scss" scoped>
.detail-intro {
  .line {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
  }
  box-sizing: content-box;
  padding: 10px;
  .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .content {
    font-size: 14px;
    line-height: 1.5;
    color: lightgray;
  }
}
</style>
